Subnet Calculator MCP Server
This project provides a simple MCP (Model Context Protocol) server for calculating subnet details based on a given CIDR (Classless Inter-Domain Routing) notation. It uses the FastMCP library to expose the subnet calculation functionality as a tool.
Subnet Calculator MCP Server
This project provides a simple MCP (Model Context Protocol) server for calculating subnet details based on a given CIDR (Classless Inter-Domain Routing) notation. It uses the FastMCP library to expose the subnet calculation functionality as a tool.
Features
- Calculate subnet details for a given CIDR.
- Provides:
- Network address
- Broadcast address
- Netmask
- Wildcard mask
- Usable host range
- Number of usable hosts
- Runs as an MCP server with SSE (Server-Sent Events) transport.
Requirements
- Python 3.7+
- fastmcp library
Installation
- Clone the repository or copy the script.
- Install the required dependencies:
pip install fastmcp mcp[cli]
Usage
THis MCP runs with SSE transport mode.
Run the MCP server:
python main.py
How to add this Server to your MCP Client
Goose MCP Client
- Click Menu ("..." icon) and select Advanced settings:


- Go extentions section

- Select "Add custom extentions"

- Select Server-Sent Events as Type
- Select a random ID
- Select Name for the MCP Server
- Sleect Description
- Enter URI : https://mcp-subnet-calculator.mteke.com/sse
- Click Add button

Now the MCP Server(extention is added and enabled)

Now the MCP server is activated:

You can watch the video to demonstrate how to enable mcp server on Goose Client App:

Claude Desktop MCP Client
- Select Claude Desktop Settings
- Select Developer and Edit config
- Change claude_desktop_config.json content to below
{
"mcpServers": {
"mcp-subnet-calculator-sse": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--sse",
"https://mcp-subnet-calculator.mteke.com/sse"
]
}
}
}
- Close Claude Desktop App completely and restart it
You can watch the video to demonstrate how to enable mcp server on Claude Desktop Client App:
How to add Subnet Calculator MCP Server to your Goose Client
How to add Subnet Calculator MCP Server to N8N Instance
Recommend MCP Servers 💡
mcp-server-time
A Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.
label-studio
This project provides a Model Context Protocol (MCP) server that allows interaction with a Label Studio instance using the label-studio-sdk. It enables programmatic management of labeling projects, tasks, and predictions via natural language or structured calls from MCP clients. Using this MCP Server, you can make requests like: * "Create a project in label studio with this data ..." * "How many tasks are labeled in my RAG review project?" * "Add predictions for my tasks." * "Update my labeling template to include a comment box."
@rawr-ai/mcp-filesystem
A Bun-based MCP server for filesystem operations with granular permission controls and enhanced functionality.
monad-mcp
An MCP server for deploying Monad contracts with AI integration, providing tools for compiling and deploying Solidity contracts to the Monad testnet
@pyroprompts/mcp-stdio-to-streamable-http-adapter
An MCP server that acts as a STDIO to Streamable HTTP adapter, enabling existing MCP clients to interact with Streamable HTTP MCP servers.
mcp-system-health
Provides real-time health and performance metrics for remote Linux servers via SSH, integrating with AI assistants like Claude through the MCP protocol.


